home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 January
/
PCWorld_2007-01_cd.bin
/
v cisle
/
autoit
/
autoit-v3.2.0.1-setup.exe
/
Examples
/
Helpfile
/
GUICtrlCreateDummy.au3
< prev
next >
Wrap
Text File
|
2006-06-17
|
612b
|
25 lines
#include <GUIConstants.au3>
GUICreate("GUICtrlCreateDummy",250,200, 100,200)
GUISetBkColor (0x00E0FFFF) ; will change background color
$user = GUICtrlCreateDummy()
$button = GUICtrlCreateButton ("event",75,170,70,20)
$cancel = GUICtrlCreateButton ("Cancel",150,170,70,20)
GUISetState()
Do
$msg = GUIGetMsg ()
Select
Case $msg = $button
GUICtrlSendToDummy($user)
Case $msg = $cancel
GUICtrlSendToDummy($user)
Case $msg = $user
; special action before closing
; ...
exit
EndSelect
Until $msg = $GUI_EVENT_CLOSE